package org.jeecg.modules.demo.dtwlwjc.controller;

import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.jeecg.common.api.vo.Result;
import org.jeecg.common.system.base.controller.JeecgController;
import org.jeecg.modules.demo.dtwlwjc.entity.ZwglDtsb;
import org.jeecg.modules.demo.dtwlwjc.service.IZwglDtsbService;
import org.jeecg.modules.demo.dtwlwjc.service.impl.ZwglDtsbServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags="大田设备")
@RestController
@RequestMapping("/dtwlwjc/zwglDtsb")
@Slf4j
public class ZwglDtsbController extends JeecgController<ZwglDtsb, IZwglDtsbService> {
    @Autowired
    private ZwglDtsbServiceImpl zwglDtsbService;

    @GetMapping(value = "/getsbwz")
    public String getsbwz(){
        return zwglDtsbService.getsbwz();
    }

    @GetMapping(value = "/getqxzlb")
    public Result getqxzlb(){
        return zwglDtsbService.getqxzlb();
    }
    @GetMapping(value = "/getsqzlb")
    public Result getsqzlb(){
        return zwglDtsbService.getsqzlb();
    }
}
